#pragma once

#include "ICollideAble.h"
#include "LineSegment.h"

class Capsule : public IBoundingCollideAble
{
public:

	LineSegment segment;
	float radius;

public:

	Capsule() { }
	virtual ~Capsule() { }

public:

	static const HashString COLLISIONTYPE;

	virtual const HashString& GetCollisionType() const { return COLLISIONTYPE; }

	virtual void Transform(const Matrix4x4& transform);

	virtual void Translate(const Vector3& translation);

protected:

	virtual ConsoleWindow& Print(ConsoleWindow& out) const;
};